import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;

/**
 * Write a description of class Aviso here.
 * 
 * @author Andrés Cruz Santiago
 * @version 22/10/13
 */
public class Aviso extends Actor
{
    /**
     * Constructor de Aviso
     * @param texto Texto a Visualizar
     */
    public Aviso(String texto)
    {
        setImage(new GreenfootImage(texto, 70, Color.RED, null));
    }

    public Aviso(String aString, int size)
    {
        this.setImage(new GreenfootImage(""+aString, size, Color.BLACK, null));
    }

}